#ifndef NOTEH
#define NOTEH
#define OVER L"$&$^@#!#$@"
typedef struct NOTE//笔记内容
{
    wchar_t note[500], title[25];
    wchar_t tag[10][50];
    int time, date, tag_number;
} Note;
typedef struct NOTE_LIST//标签的笔记链表
{
    Note *note;
    struct NOTE_LIST *next;
} Note_list;
typedef struct TAG_LIST//标签的链表
{
    wchar_t tag[50];
    struct TAG_LIST *tag_next;//头结点为空
    Note_list *note_list;//标签对应的笔记
} Tag_list;
typedef struct NOTE_BY_TIME{//笔记的时间顺序链表
    Note *note;
    struct NOTE_BY_TIME* next;//空头
} Note_by_time;
Note_by_time *time_head;//时间顺序链表存标签，头结点空
Tag_list *tag_head;//标签链表
Note_by_time *time_node;//时间链表尾结点,本节点为空
int note_number;
void put_all_note();
void add_new_note();
void search_by_tag();
void save_all();
void delete_note();
void output_tags();
#endif